alist = [10+5]
alist = [10+5 for i in range(10)]
print(alist)
alist = [10+i for i in range(10)]
print(alist)
alist = [10+i for i in range(1, 11)]
print(alist)
alist = [10+i for i in range(1, 11) if i % 2 == 1]
print(alist)
alist = [10+i for i in range(1, 11) if i % 2]
print(alist)
# alist = ['192.168.1.%s' % i for i in range(1, 255)]
# alist = ['192.168.1.' + str(i) for i in range(1, 255)]
alist = [f'192.168.1.{i}' for i in range(1, 255)]
print(alist)